package com.yonyou.test.springTest;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.yonyou.test.springTest.bean.User;
import com.yonyou.test.springTest.service.itf.UserService;

public class Start {
	
	public static void main(String[] args) {
		ApplicationContext app = new ClassPathXmlApplicationContext("classpath:applicationContext.xml");
		UserService userService = (UserService) app.getBean("userServiceImpl");
		User u  = new User("lcf","25","18515634668");
		userService.test(u);
	}
}
